home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / emacs_src_18_58.lha / emacs-18.58 / cpp / lmkfile < prev   
Text File  |  1992-09-22  |  735b  |  29 lines

  1. # Makefile for cccp in the Emacs distribution only.
  2. # Here we assume that you are using SASC
  3. # (since cccp is used by Emacs only to deal with long strings in macros.
  4.  
  5. CFLAGS=-dEMACS -isrc:unix/include/ -dSTACK_DIRECTION=-1 -dOUTPUT_LINE_COMMANDS \
  6.        -cw -j72i -j93i -j84i
  7.  
  8. cpp: cccp
  9.     -delete cpp
  10.     makelink cpp cccp
  11. cccp: cccp.o cexp.tab.o alloca.o
  12.     blink <with <
  13. from lib:c.o cccp.o alloca.o cexp.tab.o
  14. to cccp
  15. lib src:unix/src/unix.lib lib:lc.lib lib:amiga.lib
  16. nodebug
  17. <
  18. testexp: y.tab.c
  19.     cc -g -DTEST_EXP_READER y.tab.c -o testexp
  20.  
  21. cexp.tab.c: cexp.y
  22.     echo "expect 40 shift/reduce conflicts"
  23.     bin:bison cexp.y >bison.debug
  24.  
  25. cccp.o: cccp.c
  26. cexp.tab.o: cexp.tab.c
  27. alloca.o: /src/alloca.c
  28.     $(CC) $(CFLAGS) -oalloca.o /src/alloca.c
  29.